package net.lab1024.sa.admin.module.basedata.customer.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import net.lab1024.sa.admin.module.basedata.customer.domain.entity.Customer;
import net.lab1024.sa.admin.module.basedata.customer.domain.entity.CustomerBank;
import net.lab1024.sa.admin.module.basedata.customer.domain.form.CustomerQueryForm;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 客户基础数据
 */
@Mapper
public interface CustomerMapper extends BaseMapper<Customer> {
    /**
     * 分页查询
     *
     * @param queryForm
     * @return
     */
    List<Customer> getAllCustomers(@Param("queryForm") CustomerQueryForm queryForm);

}
